<template>
  <div class="ly-home">
    <Header></Header>
    <sidebar></sidebar>
    <div class="ly-content-bg">
      <div class="ly-content">
        <div class="ly-title">{{metaTitle}}</div>
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
  import {mapGetters} from 'vuex'
  export default {
    name: "home",
    computed:{
      ...mapGetters(['metaTitle'])
    }
  }
</script>

<style scoped lang="scss">
  .ly-content-bg {
    width: 100%;
    padding: 60px 0 0 205px;
    .ly-content {
      width: 100%;
      background: #f9f9f9;
      padding: 55px 20px 10px 20px;
      position: relative;
      min-width: 1144px;
      overflow-x: auto;
      .ly-title{
        position: absolute;
        top: 0;
        left: 0;
        font-size: 16px;
        color: #797979;
        line-height: 55px;
        padding-left: 35px;
        &:before{
          content: "";
          width: 5px;
          height: 15px;
          top: 21px;
          left: 20px;
          position: absolute;
          background: #608bf5;
        }
      }
    }
  }
</style>